package com.acoffee.java.aopAspectJ;

import org.junit.jupiter.api.Test;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author acoffee
 * @create 2021-11-16 11:12
 */
public class AspectJTest {
    @Test
    public void test1(){
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("beans.xml");
        RbacManagerService managerService = context.getBean("managerService", RbacManagerService.class);
        managerService.addOne();
//        managerService.deleteOne();
    }
}
